package com.sctvcloud.dongqu.http;

import java.lang.reflect.Type;

/**
 * Created by Ly on 2016/11/29.
 * 此工程中不使用此类进行分页获取
 */
@Deprecated
public abstract class AbsPageNetCallback<T> extends AbsNetCallBack<NetResponseObjectArray<T>> {

    public AbsPageNetCallback(Type type) {
        super(type);
    }

    public AbsPageNetCallback(Type type, int i1) {
        super(type);
        setInt1(i1);
    }

    public AbsPageNetCallback(Object object, Type type) {
        super(type);
        setObj(object);
    }

    @Override
    public void onPrepare() {

    }

    @Override
    public void onError(Throwable ex, String errorMsg) {

    }

    @Override
    public void onEnd() {

    }

    @Override
    public AbsPageNetCallback<T> setInt1(int int1) {
        super.setInt1(int1);
        return this;
    }

    @Override
    public AbsPageNetCallback<T> setInt2(int int2) {
        super.setInt2(int2);
        return this;
    }

    @Override
    public AbsPageNetCallback<T> setObj(Object obj) {
        super.setObj(obj);
        return this;
    }
}
